package com.lyeducation.entities.course.middle;

import javax.persistence.*;

/**
 * 视频-图片
 */
@Entity
@Table(name = "video_image")
@IdClass(VideoImageEntityPK.class)
public class VideoImageEntity {
    private String videoId;
    private String imageId;

    @Id
    @Column(name = "videoId", nullable = false, length = 18)
    public String getVideoId() {
        return videoId;
    }

    public void setVideoId(String videoId) {
        this.videoId = videoId;
    }

    @Id
    @Column(name = "imageId", nullable = false, length = 18)
    public String getImageId() {
        return imageId;
    }

    public void setImageId(String imageId) {
        this.imageId = imageId;
    }
}
